projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2e9f6
)
x86: ivybridge: remove unused variables
author
Heinrich Schuchardt
<
[email protected]
>
Tue, 12 Sep 2017 01:40:31 +0000
(
03:40
+0200)
committer
Bin Meng
<
[email protected]
>
Sat, 16 Sep 2017 06:57:44 +0000
(14:57 +0800)
legacy_hole_base_k and legacy_hole_size_k are defined but
not used.
Signed-off-by: Heinrich Schuchardt <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/cpu/ivybridge/northbridge.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/ivybridge/northbridge.c
b/arch/x86/cpu/ivybridge/northbridge.c
index 94f31c40beb614188ad8e6a6e7d1b33e4fa5bcb3..442942956b26dabbeb312c4f762664a6a2471d2d 100644
(file)
--- a/
arch/x86/cpu/ivybridge/northbridge.c
+++ b/
arch/x86/cpu/ivybridge/northbridge.c
@@
-34,16
+34,6
@@
int bridge_silicon_revision(struct udevice *dev)
return bridge_id | stepping;
}
-/*
- * Reserve everything between A segment and 1MB:
- *
- * 0xa0000 - 0xbffff: legacy VGA
- * 0xc0000 - 0xcffff: VGA OPROM (needed by kernel)
- * 0xe0000 - 0xfffff: SeaBIOS, if used, otherwise DMI
- */
-static const int legacy_hole_base_k = 0xa0000 / 1024;
-static const int legacy_hole_size_k = 384;
-
static int get_pcie_bar(struct udevice *dev, u32 *base, u32 *len)
{
u32 pciexbar_reg;